using System;
using System.Collections.Generic;
using System.Text;

namespace SharpMud.Net.Intermud3
{
    /// <summary>
    /// This exception is raised when a subroutine has been unable to create a packet from LpcData.
    /// </summary>
    public class InvalidPacketException : I3Exception
    {
        private const string MSG = "There was a problem processing the given packet. ";

        public InvalidPacketException()
            :base(MSG.Trim())
        {
        }

        public InvalidPacketException(string message)
            :base(MSG + message)
        {
        }

        public InvalidPacketException(string message, System.Exception innerException)
            :base(MSG + message, innerException)
        {
        }
    }
}
